package org.bjf.springboot.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.bjf.springboot.domain.User;
import org.springframework.cache.annotation.Cacheable;

/**
 * Created by binjinfeng on 2017/3/9.
 */

@Mapper
public interface UserMapper {

  @Cacheable(value = "userCache")
  List<User> findAll();
}
